export default (() => {
  window.$GLOBALCONFIG = {};
  +function (global) {
    // 本地开发打开的路径以及端口
    // global.$ctx = 'http://192.168.6.30:8765/';//
    global.$ctx = 'http://192.168.1.130:8765/';//测试
    // global.$ctx = 'http://preapi.funeralchain.com:8765/';//预发布
    // global.$ctx = 'http://api.funeralchain.com:8765/';//生产
    //http://mock.lifebook.xin/mockjs/6/     
    // 用户登录信息
    global.STAFF = {
      code: 'admin',
      name: '黄焖鸡',
    };
    global.imgRotate="?x-oss-process=image/resize,w_500/auto-orient,1";
    // 系统一二级菜单
    global.NAVIGATION = [
      {
        id: 600123321,
        name: '首页',
        url: '',
        children: [
            { id: 600110231, name: '首页', url: 'home', icon: 'user' },
        ],
      },
      {
        id: 60011421,
        name: '用户管理',
        url: '',
        children: [
            { id: 600110231, name: '注册用户', url: 'registered', icon: 'user' },
            { id: 600110232, name: '认证用户', url: 'authentication', icon: 'user' },
            { id: 600110242, name: '大咖用户', url: 'master', icon: 'user' },
            { id: 600110242, name: '企业用户', url: 'company', icon: 'user' },
            { id: 600110242, name: '黑名单', url: 'blacklist', icon: 'user' },
        ],
      },
      {
        id: 60011422,
        name: '社区管理',
        url: '',
        children: [
            { id: 600110271, name: '内容审核', url: 'contentAudit', icon: 'user' },
            { id: 600110272, name: '帖子列表', url: 'contentList', icon: 'user' },
            { id: 600110272, name: '评论列表', url: 'commentList', icon: 'user' },
            { id: 600110282, name: '举报列表', url: 'reportList', icon: 'user' },
        ],
      },
      {
        id: 60011423,
        name: '素材管理',
        url: '',
        children: [
            { id: 600110271, name: '大咖报告', url: 'masterReport', icon: 'user' },
            { id: 600110272, name: '大咖访谈', url: 'masterInterview', icon: 'user' },
            { id: 600110272, name: '课堂列表', url: 'classroomList', icon: 'user' },
            { id: 600110282, name: '专题列表', url: 'subjectList', icon: 'user' },
        ],
      },
      {
        id: 600110244,
        name: '资讯管理',
        url: '',
        children: [
            { id: 32, name: '行业视频', url: 'industryVideo', icon: 'user' },
            { id: 23, name: '行业要闻', url: 'IndustryNews', icon: 'user' },
            { id: 3232, name: '行业活动', url: 'IndustryActivities', icon: 'user' },
        ],
      },
      {
        id: 603,
        name: '系统管理',
        url: '',
        children: [
            { id: 32, name: '管理用户', url: 'adminuser', icon: 'user' },
            { id: 32, name: '角色管理', url: 'rolelist', icon: 'user' },
            { id: 39, name: '基础数据', url: 'baseData', icon: 'user' },
        ],
      },
      {
        id: 600110244,
        name: '企业管理',
        url: '',
        children: [
            { id: 32, name: '行业协会', url: 'industryAssociation', icon: 'user' },
            { id: 23, name: '陵园列表', url: 'cemeteryList', icon: 'user' },
            { id: 3232, name: '殡仪馆列表', url: 'funeralParlourList', icon: 'user' },
            { id: 3232, name: '公司列表', url: 'companyList', icon: 'user' },
            { id: 3232, name: '需求广场', url: 'demandSquare', icon: 'user' },
            { id: 3232, name: '招聘广场', url: 'employmentSquare', icon: 'user' },
            { id: 3232, name: '国际机构', url: 'internationalMachinery', icon: 'user' },
        ],
      },
      {
        id: 600110430,
        name: '其他',
        url: '',
        children: [
            { id: 600110431, name: '聊天室', url: 'chat', icon: 'book' },
        ],
      },
    ];
  }(window.$GLOBALCONFIG);
})()

 